<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE HTML>
<html>
<head>
<base href="<%=basePath%>">
<title>添加页面</title>
<style type="text/css">
</style>
</head>
<body>
	<script>
		$(function() {
			init_upload_page();
		});
	</script>
	<iframe name="hidden_frame" id="hidden_frame" style="display:none;"></iframe>
	<s:form action="workflow_deployProcDef" method="post" enctype="multipart/form-data" target="hidden_frame" >
		<input type="hidden" name="action" value="uploadfile">
		请选择流程定义（zip格式——暂时）： 
		<input type="text" id="workflowPath" class="text">
		<a id="a_upload_workflow" href="#">浏览...</a> 
		<input type="file" id="upload" name="workflowFile" style="display: none;">
	</s:form>
</body>
</html>
